package com.auemall.service;

import com.auemall.po.BuyerGradesPO;
import com.auemall.po.TBuyerPO;
import com.auemall.utils.EUDataGridResult;
import com.auemall.vo.BaseRespVO;
import com.auemall.vo.BuyerSearchVO;
import com.auemall.vo.BuyerVO;

public interface BuyerService {
	
	EUDataGridResult searchBuyer(BuyerSearchVO req,int page, int rows) throws Exception;
	
    int deleteByPrimaryKey(String id);

    int insert(TBuyerPO record);

    int insertSelective(TBuyerPO record);

    BuyerVO selectByPrimaryKey(Integer id);

    BaseRespVO updateByPrimaryKeySelective(BuyerVO record);

    int updateByPrimaryKey(BuyerVO record);
    
    /*用户等级*/
    
    EUDataGridResult searchBuyerGrade(BuyerGradesPO req,int page, int rows) throws Exception;
    
    int deleteBuyerGradesByPrimaryKey(String id);

    int insertBuyerGrades(BuyerGradesPO record);

    BaseRespVO insertBuyerGradesSelective(BuyerGradesPO record);

    BuyerGradesPO selectBuyerGradesByPrimaryKey(Integer id);

    BaseRespVO updateBuyerGradesByPrimaryKeySelective(BuyerGradesPO record);

}
